//
//  TextCell.m
//  MyFamework
//
//  Created by carlos on 13-9-5.
//  Copyright (c) 2013年 carlos. All rights reserved.
//

#import "TextCell.h"

@interface TextCell()
@property(nonatomic,assign)IBOutlet UILabel  *titleL;
@end

@implementation TextCell

//创建的时候被调用
-(void)createViews{
    
}
-(void)createData{

}
//点击了某个按钮
-(BOOL)onClick:(UIView *)sender{
    return NO;
}
//Cell的高度 子类必须要实现。Cell的高度要在cell类里调整
+(NSNumber * )getCellHeight:(id)item withIndexPath:(NSIndexPath *)indexPath{
    return [NSNumber numberWithFloat:50.0f];
}

//默认是屏幕的宽度
+(float )getCellWidth{
    return kFBaseWidth;
}
- (void)fillData:(id)item withIndexPath:(NSIndexPath *)indexPath{
    self.titleL.text = item;
}



@end
